package sctu.edu.java.year2016.team03.zhaoyong.day20160522.chapter4_1;

/**
 * 判断变量x是奇数还是偶数。
 * Created by zhaoyong on 2016/5/23.
 */
public class wowo {
    public static void main(String[] args) {
        int x = 25;
        if (x % 2 == 0)
            System.out.println("x 为偶数 ");
        else
            System.out.println("x 为奇数 ");
    }
}
